package com.example.othree.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.othree.entity.Drone;
import com.example.othree.entity.DroneCount;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

public interface DroneService extends IService<DroneCount> {
    List<DroneCount> toFindByEquipmentName(String equipmentName);
    Map toFindByNameAndDate(String equipmentName, String startTime,
                            String endTime, Boolean isCorrected,
                            int page, int pageSize);
    ArrayList<Map> toFindDataFixed(String equipmentName, String time);


    Integer toFindCountByEquipmentName(String equipmentName);

    // Tao add
    ArrayList<String> toFindRecentFly();
}
